<?php

namespace App\Http\Api\Controller\V1\User;

use App\Http\Api\CurrentUser;
use App\Http\Api\Middleware\AuthMiddleware;
use App\Http\Common\Controller\AbstractController;
use App\Request\auth\Service\User\UserService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middlewares;


#[Middlewares([
    AuthMiddleware::class
])]
#[Controller(
    prefix: '/api/v1/user/'
)]
class UserController extends AbstractController
{
    public function __construct(
        protected readonly UserService       $service,
        protected readonly CurrentUser       $currentUser,
    )
    {
    }



}